package org.example.system.service.question;

import org.example.system.domain.question.dto.QuestionAddDTO;
import org.example.system.domain.question.dto.QuestionEditDTO;
import org.example.system.domain.question.dto.QuestionQueryDTO;
import org.example.system.domain.question.vo.QuestionDetailVO;
import org.example.system.domain.question.vo.QuestionVO;

import java.util.List;

public interface QuestionService {

    QuestionDetailVO detail(Long questionId);

    List<QuestionVO> list(QuestionQueryDTO questionQueryDTO);

    boolean add(QuestionAddDTO questionDTO);

    int edit(QuestionEditDTO questionEditDTO);

    int delete(Long questionId);
}
